//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurEpY-F4S0rTzprZc9F3sxlWT-XJBIRE00jY954MwY9nMCG6-t__WEAuyQHBvDjS-irIUpQ1Ob9vqsQKgfY4g_dqkfyzoY3N3pRLs67mkcSF4_s2iXCpHyAoDHr6duOl_pq8f5_VUXO8hcw1XIv-WRF-X4J2LwzzipFSjynYz_0bZ_KA0-epDCl9FS-Omw35WfyF23D9C3DPBQjFem92P5EAzfFmTT0PyBD2B4q6PKZd-AT1_029bNsLd'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
